package com.hsd.whb.service;

import com.hsd.whb.entity.Recorder;
import freemarker.template.TemplateException;
import org.springframework.data.domain.Pageable;

import javax.mail.MessagingException;
import java.io.File;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;

public interface MailSenderService {

    public void sendMail(String to, String subject, String msg);

    public void sendMail(String from, String to, String subject, String msg);

    public void sendMail(String to, String subject, String msg, File[] files) throws MessagingException, UnsupportedEncodingException, Exception;

    public void sendMail(String from, String to, String subject, String msg, File[] files) throws MessagingException, Exception;

    public void sendMail(String to, String subject, String msg, Object model) throws Exception;

    public void sendMail(String from, String to, String subject, String msg, Object model) throws Exception;

    public void sendMail(String to, String subject, String msg, File[] files, Object model) throws Exception;

    public void sendMail(String from, String to, String subject, String msg, File[] files, Object model) throws Exception;

}
